package com.yunxi.poc.starbucks.service;

import com.yunxi.poc.starbucks.entity.Tb1Store;
import com.yunxi.poc.starbucks.vo.StoreRateVO;

/**
 * <p>
 * 客户满意度计算-服务类
 * </p>
 *
 * @author shiyuan.xlc
 * @since 2021-08-12
 */
public interface ISatisfiedService {

    /**
     * 计算客户满意度
     *
     * @param longtitude
     * @param latitude
     * @param store
     * @return
     */
    double scoreSatisfied(double longtitude, double latitude, Tb1Store store, StoreRateVO calRes);

    double scoreSatisfiedSimple(double longtitude, double latitude, Tb1Store store, StoreRateVO calRes);

    /**
     * 路线规划
     *
     * @param longtitude
     * @param latitude
     * @param store
     * @param calRes
     * @return
     */
    double scoreSatisfiedDirection(double longtitude, double latitude, Tb1Store store, StoreRateVO calRes);
}
